package com.youdoneed.news.news.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.youdoneed.news.news.entity.CmfLabel;
@Mapper
public interface CmfLabelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CmfLabel record);

    int insertSelective(CmfLabel record);

    CmfLabel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CmfLabel record);

    int updateByPrimaryKey(CmfLabel record);
    
    List<CmfLabel> getLabelsOfPosts(Long postsId);
}